package com.hui.bean;

import lombok.Data;

import java.util.Date;

/**
 * 设施记录实体
 */
@Data
public class RecordBean {

    /**
     * 记录id
     */
    private int recordId;

    /**
     * 损坏描述
     */
    private String description;

    /**
     * 报损日期
     */
    private Date recordDate;

    /**
     * 是否解决
     *      两个值：
     *      0: 代表未解决
     *      1: 代表已解决
     *      默认为0
     */
    private byte recordStatus;

    /**
     * 显示是否解决
     */
    private String showMsg;

    public RecordBean() {
    }

    public RecordBean(String description, Date recordDate) {
        this.description = description;
        this.recordDate = recordDate;
    }

    public RecordBean(int recordId, String description, Date recordDate, byte recordStatus) {
        this.recordId = recordId;
        this.description = description;
        this.recordDate = recordDate;
        this.recordStatus = recordStatus;
    }
}
